Fix porting inconsistency about rounding to even.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 19 Mar 2014 21:09:08 +0000 (14:09 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 19 Mar 2014 21:09:08 +0000 (14:09 -0700)
commite79003d9c55ca8ee4f5140715657ff82ac7c43c3
tree46e790e10a0a2fce9448370f1bc2d0276ad5a8c6
parente3af665f17899685133276d89c35b1777619e5a6
Fix porting inconsistency about rounding to even.

* doc/lispref/numbers.texi (Numeric Conversions, Rounding Operations):
Document that 'round' and 'fround' round to even.
* src/floatfns.c (emacs_rint) [!HAVE_RINT]: Round to even.
This way, the unusual !HAVE_RINT case acts like the usual
HAVE_RINT case, and we can fix the documentation accordingly.
doc/lispref/ChangeLog
doc/lispref/numbers.texi
src/ChangeLog
src/floatfns.c